//
//  YcPlatformView.m
//  yc_plugin_learn
//
//  Created by os on 2022/5/5.
//

#import "YcPlatformView.h"
#import "YcView.h"

@implementation YcPlatformView{
    YcView * _view;
}

//在这里只是创建了一个自定义的view
-(instancetype)initWithWithFrame:(CGRect)frame viewIdentifier:(int64_t)viewId arguments:(id)args binaryMessenger:(NSObject<FlutterPluginRegistrar> *)messenger{
    if ([super init]) {
        _view = [[YcView alloc] initWithFrame:frame viewIdentifier:viewId arguments:args registrar:messenger];
    }
    return self;
    
}


- (nonnull UIView *)view {
    return _view;
}

@end
